package com.entity.model;

import com.entity.DishinformationEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
 

/**
 * 菜品信息
 * 接收传参的实体类  
 *（实际开发中配合移动端接口开发手动去掉些没用的字段， 后端一般用entity就够用了） 
 * 取自ModelAndView 的model名称
 * @author 
 * @email 
 * @date 2025-03-01 16:21:06
 */
public class DishinformationModel  implements Serializable {
	private static final long serialVersionUID = 1L;

	 			
	/**
	 * 菜品分类
	 */
	
	private String categorizationofdishes;
		
	/**
	 * 菜品图片
	 */
	
	private String pictureofdishes;
		
	/**
	 * 菜品口味
	 */
	
	private String flavorofdishes;
		
	/**
	 * 菜品特色
	 */
	
	private String featuresofdishes;
		
	/**
	 * 菜品详情
	 */
	
	private String detailsofdishes;
		
	/**
	 * 商家编号
	 */
	
	private String merchantnumber;
		
	/**
	 * 商家名称
	 */
	
	private String merchantname;
		
	/**
	 * 联系电话
	 */
	
	private String contactnumber;
		
	/**
	 * 商家地址
	 */
	
	private String merchantaddress;
		
	/**
	 * 单次限购
	 */
	
	private Integer onelimittimes;
		
	/**
	 * 菜品库存
	 */
	
	private Integer alllimittimes;
		
	/**
	 * 最近点击时间
	 */
		
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 
	private Date clicktime;
		
	/**
	 * 评论数
	 */
	
	private Integer discussnum;
		
	/**
	 * 价格
	 */
	
	private Double price;
		
	/**
	 * 收藏数
	 */
	
	private Integer storeupnum;
				
	
	/**
	 * 设置：菜品分类
	 */
	 
	public void setCategorizationofdishes(String categorizationofdishes) {
		this.categorizationofdishes = categorizationofdishes;
	}
	
	/**
	 * 获取：菜品分类
	 */
	public String getCategorizationofdishes() {
		return categorizationofdishes;
	}
				
	
	/**
	 * 设置：菜品图片
	 */
	 
	public void setPictureofdishes(String pictureofdishes) {
		this.pictureofdishes = pictureofdishes;
	}
	
	/**
	 * 获取：菜品图片
	 */
	public String getPictureofdishes() {
		return pictureofdishes;
	}
				
	
	/**
	 * 设置：菜品口味
	 */
	 
	public void setFlavorofdishes(String flavorofdishes) {
		this.flavorofdishes = flavorofdishes;
	}
	
	/**
	 * 获取：菜品口味
	 */
	public String getFlavorofdishes() {
		return flavorofdishes;
	}
				
	
	/**
	 * 设置：菜品特色
	 */
	 
	public void setFeaturesofdishes(String featuresofdishes) {
		this.featuresofdishes = featuresofdishes;
	}
	
	/**
	 * 获取：菜品特色
	 */
	public String getFeaturesofdishes() {
		return featuresofdishes;
	}
				
	
	/**
	 * 设置：菜品详情
	 */
	 
	public void setDetailsofdishes(String detailsofdishes) {
		this.detailsofdishes = detailsofdishes;
	}
	
	/**
	 * 获取：菜品详情
	 */
	public String getDetailsofdishes() {
		return detailsofdishes;
	}
				
	
	/**
	 * 设置：商家编号
	 */
	 
	public void setMerchantnumber(String merchantnumber) {
		this.merchantnumber = merchantnumber;
	}
	
	/**
	 * 获取：商家编号
	 */
	public String getMerchantnumber() {
		return merchantnumber;
	}
				
	
	/**
	 * 设置：商家名称
	 */
	 
	public void setMerchantname(String merchantname) {
		this.merchantname = merchantname;
	}
	
	/**
	 * 获取：商家名称
	 */
	public String getMerchantname() {
		return merchantname;
	}
				
	
	/**
	 * 设置：联系电话
	 */
	 
	public void setContactnumber(String contactnumber) {
		this.contactnumber = contactnumber;
	}
	
	/**
	 * 获取：联系电话
	 */
	public String getContactnumber() {
		return contactnumber;
	}
				
	
	/**
	 * 设置：商家地址
	 */
	 
	public void setMerchantaddress(String merchantaddress) {
		this.merchantaddress = merchantaddress;
	}
	
	/**
	 * 获取：商家地址
	 */
	public String getMerchantaddress() {
		return merchantaddress;
	}
				
	
	/**
	 * 设置：单次限购
	 */
	 
	public void setOnelimittimes(Integer onelimittimes) {
		this.onelimittimes = onelimittimes;
	}
	
	/**
	 * 获取：单次限购
	 */
	public Integer getOnelimittimes() {
		return onelimittimes;
	}
				
	
	/**
	 * 设置：菜品库存
	 */
	 
	public void setAlllimittimes(Integer alllimittimes) {
		this.alllimittimes = alllimittimes;
	}
	
	/**
	 * 获取：菜品库存
	 */
	public Integer getAlllimittimes() {
		return alllimittimes;
	}
				
	
	/**
	 * 设置：最近点击时间
	 */
	 
	public void setClicktime(Date clicktime) {
		this.clicktime = clicktime;
	}
	
	/**
	 * 获取：最近点击时间
	 */
	public Date getClicktime() {
		return clicktime;
	}
				
	
	/**
	 * 设置：评论数
	 */
	 
	public void setDiscussnum(Integer discussnum) {
		this.discussnum = discussnum;
	}
	
	/**
	 * 获取：评论数
	 */
	public Integer getDiscussnum() {
		return discussnum;
	}
				
	
	/**
	 * 设置：价格
	 */
	 
	public void setPrice(Double price) {
		this.price = price;
	}
	
	/**
	 * 获取：价格
	 */
	public Double getPrice() {
		return price;
	}
				
	
	/**
	 * 设置：收藏数
	 */
	 
	public void setStoreupnum(Integer storeupnum) {
		this.storeupnum = storeupnum;
	}
	
	/**
	 * 获取：收藏数
	 */
	public Integer getStoreupnum() {
		return storeupnum;
	}
			
}
